package com.lhd.qd.common.consts;

/**
 * websocket约定操作编码
 */
public enum WsCodeEnum {

    REFRESH_USER(2, "刷新用户"),
    REFRESH_DICT(1, "刷新字典");

    private Integer code;
    private String desc;

    WsCodeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
